package com.neuedu.extend;

/**
 * 老虎
 */
public class Tiger  extends Animal  {

    public Tiger(String name, double weight) {
        super(name, weight);
    }


    @Override
    public void eat(){
        super.eat();
        System.out.println("正在吃肉");
    }


    public static void main(String[] args) {

        Animal animal = new Tiger("凶猛的老虎",69.58);
        animal.show();
        animal.eat();
    }

}
